<script setup>
import CustomButton from './CustomButton.vue'
import logo from '../../assets/vue.svg'
</script>

<template>
  <h2>Index.vue</h2>
  <hr />

  <CustomButton>
    <span style="color: red">添加</span>
    <span style="color: green">123</span>
  </CustomButton>

  <CustomButton>
    <img :src="logo" alt="" />
  </CustomButton>
</template>
